local success = redis.call('SETNX',KEYS[1],ARGV[1])
if (success == 1) then
redis.call('EXPIRE',KEYS[1],4)
return 1
else
return 0
end